<ul class="submenulevel2">                 
<{assign var="count" value=0}>                
<{foreach from=$cats key=id item=cat}>
    <{assign var="count" value=$count+1}>
    <li <{if $count==0}>id="nav01" class="first"<{/if}>> <a href="<{$smarty.const.APPLICATION_URL_FO}>/products/<{$typeName}>/<{$cat.ID|utf8_escape_html}>/<{$Utils->RemoveSign($cat.TITLE)}>" title="<{$cat.TITLE|utf8_escape_html}>" <{if $cat.HAVE_SUB}>class="current"<{/if}> ><{$cat.TITLE|utf8_escape_html}></a>
	<{if $cat.SUB|@count}><{include file="left_category_hierachy.html" cats=$cat.SUB typeName=$typeName}><{/if}>
    </li>
<{/foreach}>
</ul>